<template>
  <div>
    <ScopedSlotDemo :url="website.url">
      <template v-slot="slotProps">
        {{ slotProps.slotData.title }}
      </template>
    </ScopedSlotDemo>
  </div>
</template>

<script>
import ScopedSlotDemo from "./ScopedSlotDemo";
export default {
  components: {
    ScopedSlotDemo,
  },
  data() {
    return {
      website: {
        url: "http://imooc.com",
        title: "imooc",
        subTitle: "程序员的梦工厂",
      },
    };
  },
};
</script>
